
const Router = require('express')
const datamanageController = require('../../datamanage/controllers.js')
const router = Router()

/* 分类列表 */
router.get('/datamanage/list', datamanageController.getList)
/* 添加分类 */
router.post('/datamanage/new', datamanageController.createOne)
// /* 拉取用户信息 */
// router.get('/user/:id', UserController.getOne)
// /* 删除分类 */
router.post('/datamanage/delete', datamanageController.deleteOne)
// /* 更新分类 */
router.post('/datamanage/update', datamanageController.updateOne)

module.exports = router
